package com.mk.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("dog_card")
public class DogCard implements Serializable {

    /**
     * 状态（0已申请维修 1已提交挂失 2已申请补办 3办理中 4待付款 5已付款 6已完成）
     */
    public static final Integer REPAIR = 0;
    public static final Integer LOSS_REPORT = 1;
    public static final Integer MAKE_UP = 2;
    public static final Integer IN_HANDING = 3;
    public static final Integer UN_PAID = 4;
    public static final Integer PAID = 5;
    public static final Integer ACCOMPLISH = 6;

    @Serial
    private static final long serialVersionUID = 1L;

    private Long id;
    //关联的宠物id
    private Long petId;
    //号牌
    private String numberPlate;
    //主人姓名
    private String hostName;
    //主人身份证号码
    private String idNumber;
    //主人电话号码
    private String phone;
    //状态
    private Integer status;
    //创建时间
    private LocalDateTime createTime;
    //处理进度更新时间
    private LocalDateTime updateTime;
}
